// 1.获取id
let url = location.href;
let id = url.split("=")[1];
// console.log(id);


// 2.获取该详情数据
$.ajax({
  url: "/my/article/" + id,
  success: function (res) {
    console.log(res);
  }
})